package com.sfy.examplespringbootconsumer.service;

import com.sfy.example.common.model.User;
import com.sfy.example.common.user.UserService;
import com.sfy.sfyrpcspringbootstarter.annotation.RpcService;
import org.springframework.stereotype.Service;


@Service
@RpcService
public class UserServiceImpl implements UserService {
    @Override
    public User getUser(User user) {
        System.out.println("用户名："+user.getName());
        return user;
    }
}
